#pragma once

#include "VoxelCore.h"

using namespace VoxelCore;

class CIndoorVoxel
{
public:
	//all the points
	Pointlist pts;
	//all the triangles
	Surface3 tris;
	//Voxels root
	shared_ptr<CVoxelCore> voxelization;

public:
	CIndoorVoxel(){};
	CIndoorVoxel(const Pointlist*, const Polygonlist*, double);
	virtual ~CIndoorVoxel(){};

private:
	bool TessellatePolygon(const Polygon3&, Trianglelist&);
};